package com.project.common.core.page;

import com.project.common.constant.HttpStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 表格分页数据对象
 *
 * @author project
 */
@Data
@ApiModel(value = "分页-请求参数")
public class PageParams<T> implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "当前页面数", required = true)
    private int pageNum = 1;

    @ApiModelProperty(value = "当前页面条数", required = true)
    private int pageSize = 20;

}
